// Drawing cube on xlib


#ifndef CUBE_H
#define CUBE_H


#include "Line.h" 
#include "Matrix.h"
#include "MyDisplay.h"

using namespace std;

class Cube : public Line {
 
private:
    Matrix *cube;
    
    enum dropAxis{x_axis=1,y_axis,z_axis};

public:
     Cube(const char *fileName,const MyDisplay &another);
     Cube(const Matrix &T);
     Cube();
     Cube(const Cube &another);
     
     ~Cube();
     
     
     bool draw(dropAxis axis = z_axis);
     
     bool  draw(const Matrix &T,char direction = 'z');
     
     
     

};



#endif
